<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="com.java.service.*,java.util.*,com.java.model.UserSession,com.java.util.*"%>
<jsp:include page="/jsp/common/header.jsp"></jsp:include>
<%
	
	HashMap map_al1 = null;
	
	String uni_id = CmmUtil.nvl(request.getParameter("uni_id"),"");
	
	HashMap map = new HashMap();
	HashMap map1 = null;
	ArrayList list = new ArrayList();
	CommonDaoService commonservice = new CommonDaoService("Com0101lp03Pop01Dao");
	map.put("uni_id",uni_id);
	
	list = (ArrayList)commonservice.commonDaoMethod(map);
%>
<body>
<table width="500" cellpadding="0" cellspacing="0" style="border-collapse:collapse; border:1px solid #1a518a" align="left">
  <tr>
    <td>
    	<table width="500" height="25" border="0" cellpadding="0" cellspacing="0"  align="left">
        	<tr>
            	<td align="left">
                	<table border="0" cellpadding="0" cellspacing="0" align="left">
                    <tr style="background-color:#4b80b6">
                   	 <td width="483" align="left" style="font-size:14px; color:#ffffff; font-weight:bold;"><img src="/images/popup_icon1.gif" alt="" border="0" style="padding:0 0 2px 0;"/>&nbsp;학습가능시간</td>
                	 <td align="right"><img src="/images/popup_icon2.gif" alt="" border="0" style="padding:0 0 2px 0;"/></td>
                    </tr>
                    </table>
                </td>
            </tr>
            <tr>
           	  <td align="center">
                	<table width="100%" border="0" class="View_table">
                      <tr>
                        <td class="table_th">구분</td>
                        <td class="table_thEND">학습가능시간</td>
                      </tr>
                      <%if(list != null && list.size() > 0 ){
                    		for(int i=0; i<list.size(); i++){
                    			map1 = (HashMap)list.get(i);
					  %>
                      <tr>
                        <td><%=map1.get("day_gb")%></td>
                        <td><%=map1.get("study_time")%></td>
                      </tr>
                      <%	}
                    	}else{%>
                    	<script>
                    		self.resizeTo(520,170);
                    	</script>
                      <tr>
                      	<td colspan="2">데이터 없음</td>
                      </tr>
					  <%} %>
                   </table>
                </td>
            </tr> 
        </table>
     </td>
  </tr>
</table>
</body>
</html>
